import type { Column } from "@/components/ProTable/ProTable.vue";
export const columns = [
  // {
  //   label: "序号",
  //   prop: "id",
  //   width: 100,
  // },

  {
    label: "台站名称",
    prop: "stName",
  },
  {
    label: "台站地址",
    prop: "stAddress",
  },
  {
    label: "台站运行状态",
    prop: "stStatus",
    // format: (val: number | string) => (val == 1 ? "正常运行" : "异常运行"),
  },
  {
    label: "维护人员",
    prop: "maintainMem",
  },
  {
    label: "联系方式",
    prop: "phone",
  },
  {
    label: "巡检时间",
    prop: "inspectionDate",
  },
].map((e: Column) => ({ ...e, dataIndex: e.prop }));
